
@keyframes show {
  to{
    opacity: 1;
  }
}

@keyframes top{
  to{
    top: 55%;
  }
}
*{
  padding: 0;
  margin: 0;
}
ul{
  list-style:none ;
}

.headbox{
  z-index: 99;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;

  transition: all  0.3s;
}

.part1{
  position: relative;
  width: 100%;
  min-width: 1200px;
  height: 70rem;
  background-image: url(../image/index_back1.png);
  background-size: 2034px 1016px;
  background-position: 50%  50%;
}

.contain{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;

  min-width: 1200px;
  height: 100%;

  box-sizing: border-box;
  padding: 0px 20px 0px 20px;
}
.logoBox{
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 220px;
  height: 100%;
}

.logoimage{
  height: 40px;
  width: 40px;
}

.logoText{
  width: 150px;
  height: 26px;
}

/* 导航栏部分 */

.directionBox{
  width: 70rem;
  height: 100%;
}


.directionBox li{
  cursor: pointer;
  float: left;
  width: 25%;
  height: 70px;
  box-sizing: border-box;
  line-height: 70px;
  text-align: center;
  font-size: 16px;
  font-weight: 900;
  color: white;
  transition: color  0.3s;
}
.directionBox li:hover{
  border-bottom: 3px solid skyblue;
}


/* 用户 */

.userBox{
  display: flex;
  align-items: center;
  height: 50px;
}
.userImage{
  width: 30px;
  height: 30px;
  background-color: skyblue;
  border-radius: 30px;
  overflow: hidden;
}
.userName{
  min-width: 120px;
  height: 30px;
  margin-left: 10px;
  line-height: 30px;
  font-weight: 900;
  color: rgb(140, 138, 138);
}
/* 第一部分页面文字区域 */
.part1-text{
  opacity: 0;
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%,-40%);
  height: 300px;
  animation: show 1s 0.6s forwards,top 1s 0.6s forwards;
}

.CheckBox{
  display: flex;
  align-items: center;
  width: 100%;
  height: 70px;
  margin-top: 20px;
}

.toCurriclum,
.toRace{
  cursor: pointer;
  width: 100px;
  height: 50px;
  background-color: white;
  border-radius: 5px;


  text-align: center;
  line-height: 50px;
  color: rgb(171, 210, 244);
  font-size: 16px;
  transition: all 0.4s;
  font-weight: bold;
}
.toRace:hover
{
  background-color: skyblue;
}

.toCurriclum:hover{
  background-color: rgb(229, 229, 229);
}
.toCurriclum{
  margin-left: 30px;
}

.toRace{
  background-color: rgb(180, 217, 249);
  color: white;
}

.part2{
  padding-top: 40px;
  width: 100%;
  background-color: rgb(246,246,246);
}

.contain2{
  margin: 0 auto;
  min-width: 1193px;
  box-sizing: border-box;
  padding: 0px 10px 0px 10px;
}

.part2_title{
  width: 100%;
  height: 60px;
  text-align: center;

  line-height: 40px;
  font-weight: bold;
  color: red;
  font-size: 30px;
  font-family: 宋体;
  /* border-bottom: 3px solid skyblue; */
}

.hotRace{
  margin-top: 20px;
  width: 100%;
}
.title{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 50px;
  background-color: white;
  margin-bottom: 5px;
  box-sizing: border-box;
  padding-left: 32px;
}
.more{
  cursor: pointer;
  width: 100px;
  height: 30px;
  line-height: 30px;
  color: skyblue;
  transition: color 0.3s;
}
.more:hover{
color: blue;
}

.hotRaceList{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  background-color: white;
  padding-bottom: 10px;
}

.riceItem{
  position: relative;
  width: 50%;
  height: 40rem;
}

.itembox{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 90%;
  height: 90%;
}

.raceName{
  width: 100%;
  height: 5rem;
  font-size: 17px;
  font-weight: bold;
}
.raceDescription{
  display: flex;
  width: 100%;
  height: 30rem;
}

.companyImage{
  width: 25rem;
  height: 25rem;
  background-color: skyblue;
}

.raseMsg{

  padding-top: 10px;
  width: 53rem;
  height: 25rem;
  margin-left: 2rem;
  box-sizing: border-box;
}

.componyMsg{
  display: flex;
  align-items: center;

  width: 100%;
  height: 50px;
}
.componName{
  width: 25px;
  height: 25px;
  background-color: red;
  border-radius: 20px;
  margin-right: 10px;
}

.baomingBox{
  cursor: pointer;
  width: 80px;
  height: 40px;
  background-color: red;

  line-height: 40px;
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: 15px;
  border-radius: 5px;
  transition: all 0.6s;


}

.baomingBox:hover{
  background-color: rgb(188, 3, 3);
}

/* 推荐课程 */
.courseList{
  margin-top: 5px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  background-color: white;
}
.courseItem{
  cursor: pointer;
  width: 24%;
  height: 50rem;

  border-radius: 5px 5px 0px 0px;
  overflow: hidden;
  padding-bottom: 10px;
  transition: all 0.4s;
}
.courseItem:hover{
  background-color: rgb(245, 239, 239);
}
.courseImage{
  width: 100%;
  height: 30rem;
  background-color: skyblue;
}
.courseDescript{
  width: 100%;
  box-sizing: border-box;
  padding: 20px 10px 0px 10px;
}
.teacherMsg{
  display: flex;
  align-items: center;
  margin-top: 10px;
  width: 100%;
  height: 30px;
}
.teacherImage{
  width: 25px;
  height: 25px;
  border-radius: 15px;
  background-color: orange;
}
/* 结束部分 */
.footer{
  margin-top: 20px;
  width: 100%;
  height: 400px;
  background-image: url(../image/Footer.png);
  background-size: 100% 100%;
}
.companyName{
  font-size: 15px;
  width: 291px;
}

/* 媒体查询 */
@media screen and (max-width:1312px) {
  html{
    font-size: 6.5px !important;
  }
  .companyName{
    width: 228px !important;
  }
  .componyMsg{
    margin-top: 3PX;
  }
}
@media screen and (min-width:1312px) {
  html{
    font-size: 7px !important;

  }
  .companyName{
    width: 250px !important;
    
  }
  .componyMsg{
    margin-top: 10px;
  }
}
@media screen and (min-width:1400px) {
  html{
    font-size: 8px !important;
  }
  .componyMsg{
    margin-top: 28px;
  }

}
